using System;

namespace BYSerial.Models
{
    public enum BurnFirmwareOptionType
    {
        All,
        Rtos,
        Bth,
        Hifi4,
        Norflash,
        NoApp,
        Platform,
        Factory,
        Emmc
    }

    public class BurnFirmwareOption
    {
        public BurnFirmwareOption(BurnFirmwareOptionType optionType, string displayName, string description)
        {
            OptionType = optionType;
            DisplayName = displayName ?? string.Empty;
            Description = description ?? string.Empty;
        }

        public BurnFirmwareOptionType OptionType { get; }

        public string DisplayName { get; }

        public string Description { get; }

        public override string ToString() => DisplayName;
    }
}
